package com.tubeonfire.entity;

import java.io.Serializable;

import javax.persistence.Id;

import com.googlecode.objectify.annotation.Cached;
import com.googlecode.objectify.annotation.Unindexed;

@Cached
public class SiteConfig implements Serializable {
	public static final long serialVersionUID = 1L;
	@Id
	private String id = "";

	@Unindexed
	private String siteName = "Tubeonfire";

	@Unindexed
	private String siteTitle = "All Clips That I Like Most";

	@Unindexed
	private String siteDescription = "Collection Of Video Clips That I Like";

	@Unindexed
	private String siteKeyword = "tubeilike, tube, i like, youtube, like, clip, video, most wanted, like most";

	@Unindexed
	private String analyticCode = "";

	@Unindexed
	private String logoSlogan = "Tubes I Like";

	@Unindexed
	private String logoKey = "/images/logo.png";

	@Unindexed
	private String adminEmail = "xuanhung2401@gmail.com";

	@Unindexed
	private String facebookAdminId = "100000152425373";

	@Unindexed
	private String facebookLink = "http://www.facebook.com/profile.php?id=100000152425373";

	@Unindexed
	private String twiterLink = "";

	@Unindexed
	private String twiterName = "xuanhung2401";

	@Unindexed
	private String slideStyle = "fading-top-curtain";

	/*
	 * 1. display playlist 2. display channel
	 */
	@Unindexed
	private int homePageDisplayObject = 2;

	@Unindexed
	private int homePageBlockQuantity = 4;

	@Unindexed
	private int homePageTubePerBlockQuantity = 6;

	@Unindexed
	private boolean autoTag = false;

	public String getAdminEmail() {
		if (adminEmail == null) {
			this.adminEmail = "";
		}
		return this.adminEmail;
	}

	public void setAdminEmail(String adminEmail) {
		this.adminEmail = adminEmail;
	}

	public boolean isAutoTag() {
		return autoTag;
	}

	public void setAutoTag(boolean autoTag) {
		this.autoTag = autoTag;
	}

	public int getHomePageDisplayObject() {
		return homePageDisplayObject;
	}

	public void setHomePageDisplayObject(int homePageDisplayObject) {
		this.homePageDisplayObject = homePageDisplayObject;
	}

	public int getHomePageBlockQuantity() {
		return homePageBlockQuantity;
	}

	public void setHomePageBlockQuantity(int homePageBlockQuantity) {
		this.homePageBlockQuantity = homePageBlockQuantity;
	}

	public int getHomePageTubePerBlockQuantity() {
		return homePageTubePerBlockQuantity;
	}

	public void setHomePageTubePerBlockQuantity(int homePageTubePerBlockQuantity) {
		this.homePageTubePerBlockQuantity = homePageTubePerBlockQuantity;
	}

	public String getSlideStyle() {
		return slideStyle;
	}

	public void setSlideStyle(String slideStyle) {
		this.slideStyle = slideStyle;
	}

	public String getFacebookAdminId() {
		return facebookAdminId;
	}

	public void setFacebookAdminId(String facebookAdminId) {
		this.facebookAdminId = facebookAdminId;
	}

	public String getFacebookLink() {
		return facebookLink;
	}

	public void setFacebookLink(String facebookLink) {
		this.facebookLink = facebookLink;
	}

	public String getTwiterLink() {
		return twiterLink;
	}

	public void setTwiterLink(String twiterLink) {
		this.twiterLink = twiterLink;
	}

	public String getTwiterName() {
		return twiterName;
	}

	public void setTwiterName(String twiterName) {
		this.twiterName = twiterName;
	}

	public String getLogoSlogan() {
		return logoSlogan;
	}

	public void setLogoSlogan(String logoSlogan) {
		this.logoSlogan = logoSlogan;
	}

	public String getLogoKey() {
		return logoKey;
	}

	public void setLogoKey(String logoKey) {
		this.logoKey = logoKey;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getSiteName() {
		return siteName;
	}

	public void setSiteName(String siteName) {
		this.siteName = siteName;
	}

	public String getSiteTitle() {
		return siteTitle;
	}

	public void setSiteTitle(String siteTitle) {
		this.siteTitle = siteTitle;
	}

	public String getSiteDescription() {
		return siteDescription;
	}

	public void setSiteDescription(String siteDescription) {
		this.siteDescription = siteDescription;
	}

	public String getSiteKeyword() {
		return siteKeyword;
	}

	public void setSiteKeyword(String siteKeyword) {
		this.siteKeyword = siteKeyword;
	}

	public String getAnalyticCode() {
		return analyticCode;
	}

	public void setAnalyticCode(String analyticCode) {
		this.analyticCode = analyticCode;
	}

}
